package com.zhangdi.dwperms.properties;

import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@SpringBootConfiguration
@PropertySource(value = {"classpath:dwps.properties"})
@ConfigurationProperties(prefix = "dwps")
public class DWPSProperties {
    private ShiroProperties shiro = new ShiroProperties();
    private boolean openAopLog = true;
//    private String Default_URL_Alias = "dw";

    public boolean isOpenAopLog() {
        return openAopLog;
    }

    public void setOpenAopLog(boolean openAopLog) {
        this.openAopLog = openAopLog;
    }

//    public String getDefault_URL_Alias() {
//        return Default_URL_Alias;
//    }
//
//    public void setDefault_URL_Alias(String default_URL_Alias) {
//        Default_URL_Alias = default_URL_Alias;
//    }
}
